package edu.psu.geovista.app.pcp.plot.control;

import edu.psu.geovista.app.pcp.plot.control.tools.BasicTool;
import edu.psu.geovista.app.pcp.plot.gui.BasicPcpUI;

import javax.swing.*;

/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 *
 * @author: jin Chen 
 * @date: Jan 27, 2005$
 * @version: 1.0
 */

public interface ConfigManager {
    //configure page names
    String CFG_SIZE = "Size";
    String CFG_APPEARANCE = "Appearance";
    String CFG_ANIMATION = "Animation";
    String CFG_CLASSIFY = "Classify";
    String CFG_LOCATION = "Location";
    String CFG_RANGE = "Range";

    //public  void toShow();

    public BasicConfig getActiveConfig();

    public void setActiveConfig(String name);

    public BasicPcpUI getTargetUI();

    public BasicTool getCmd(String name);

    //close the config window
    public void close();

    public BasicCfg getCfg(String name);

    public JFrame getPopupfrm();

    public void setPopupfrm(JFrame popupfrm);
    public Object getConfigSetting(String name);
}
